Micron Document
Livres et Wikis | Archives | Info


JavaScript OSA
layout: Wide Β· Narrow Β· Centered
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
JavaScript Open Scripting Architecture (OSA), (originally JavaScript for
OSA, then JavaScript OSA, abbreviated further as JSOSA), is a
the Macintosh computer.

JavaScript OSA uses the "core language" of the Mozilla implementation of
the JavaScript programming language, (see SpiderMonkey). The language is
used as an alternative to the AppleScript language. Its use is unrelated
to web browser-based scripting. It can be seen as having a similar
function to Microsoft's JScript .NET language on Windows machines, but
with no interoperability between the two languages' system-level
scripting.

Contents

β€’ Description
β€’ Alternatives
β€’ References

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Description

The language is identical to Mozilla's core language, with extensions
added via a Core object and a MacOS object. The latter has methods for
obtaining objects that are bound to application software. This is done
via the Apple event messaging system, a part of the Macintosh's

The language was first released in 2001, and was bundled with
Late Night Software's flagship product, Script Debugger. In May 2005, a
new "alpha" version of the language was made available for testing. This
improved second version of the language was bundled with version 4 of
Script Debugger. JavaScript OSA was eventually discontinued due to lack
of interestcite-ref-yosemite-javascript-for-automation-support-1-0[1] and was dropped from Script Debugger 5 in 2012.cite-ref-what-s-new-in-script-debugger-5-0-2-0[2]

Alternatives

OS X Yosemite introduced JavaScript for Automation (JXA): system-wide
support for scripting with JavaScript, built upon JavaScriptCore and the
Open Scripting Architecture.cite-ref-javascript-for-automation-3-0[3] It features an Objective-C bridge which
enables entire Cocoa applications to be programmed in JavaScript.cite-ref-javascript-for-automation-release-notes-4-0[4]

References

cite-note-yosemite-javascript-for-automation-support-11. ↑ "Yosemite JavaScript for Automation Support". Late Night Software. Retrieved March 22, 2015.
cite-note-what-s-new-in-script-debugger-5-0-22. ↑ "What's New in Script Debugger 5.0". Late Night Software. Retrieved March 22, 2015.
cite-note-javascript-for-automation-33. ↑ "JavaScript for Automation". MacStories. Retrieved August 31, 2014.
cite-note-javascript-for-automation-release-notes-44. ↑ "JavaScript for Automation Release Notes". Apple, Inc. Retrieved August 31, 2014.

External links

β€’ Official website, Late Night Software
β€’ citerefhough2001Hough, Richard (May 11, 2001). "JavaScript and Mac OS".
O'Reilly Media. Archived from the original on October 19, 2014.